package org.ragdollcat.first.mapper;

import org.apache.ibatis.annotations.Param;
import org.ragdollcat.first.model.entity.Space;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @author 86158
 * @description 针对表【space(空间)】的数据库操作Mapper
 * @createDate 2025-08-30 10:14:36
 * @Entity org.ragdollcat.first.model.entity.Space
 */
public interface SpaceMapper extends BaseMapper<Space> {

    /**
     * 根据图片ID查询空间类型
     * @param pictureId
     * @return
     */
    Integer getSpaceTypeByPictureId(@Param("pictureId") Long pictureId);

}




